﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MSH.Common.Business
{
    /// <summary>
    /// Business object voor de locatie van een gebruiker
    /// </summary>
    public class UserLocation
    {
        private Int32 _id;
        private double _longitude;
        private double _latitude;
        private String _addressLine;
        private String _adminDistrict;
        private String _countryRegion;
        private String _locality;
        private String _postalCode;
        private DateTime _timestamp;

        /// <summary>
        /// Database id
        /// </summary>
        public virtual Int32 ID
        {
            get { return _id; }
            set { _id = value; }
        }

        /// <summary>
        /// Longitude coordinaat
        /// </summary>
        public virtual double Longitude
        {
            get { return _longitude; }
            set { _longitude = value; }
        }

        /// <summary>
        /// Latitude coordinaat
        /// </summary>
        public virtual double Latitude
        {
            get { return _latitude; }
            set { _latitude = value; }
        }

        /// <summary>
        /// Het adres
        /// </summary>
        public virtual String AddressLine
        {
            get { return _addressLine; }
            set { _addressLine = value; }
        }

        /// <summary>
        /// De provincie
        /// </summary>
        public virtual String AdminDistrict
        {
            get { return _adminDistrict; }
            set { _adminDistrict = value; }
        }

        /// <summary>
        /// Het land
        /// </summary>
        public virtual String CountryRegion
        {
            get { return _countryRegion; }
            set { _countryRegion = value; }
        }

        /// <summary>
        /// De plaats
        /// </summary>
        public virtual String Locality
        {
            get { return _locality; }
            set { _locality = value; }
        }

        /// <summary>
        /// De postcode
        /// </summary>
        public virtual String PostalCode
        {
            get { return _postalCode; }
            set { _postalCode = value; }
        }

        /// <summary>
        /// Tijd van wanneer de locatie geupdate is
        /// </summary>
        public virtual DateTime Timestamp
        {
            get { return _timestamp; }
            set { _timestamp = value; }
        }

    }
}
